On the Syntax and Semantics of State Machines

نویسنده

  • Michelle L. Crane
چکیده

Within Model Driven Development (MDD), state machines are a common mechanism for modelling behaviour. The development of a formal semantics for state machines continues to be a very active and important area of research, because the development of interoperating MDD tools requires a precise, unambiguous, yet readable account of the meaning of the diagrams. Research on state machine semantics is severely complicated by the fact that there are multiple suggested approaches to formalizing state machine semantics. In addition, there are currently several well-documented state machine dialects, each subtly different from the others. According to the research literature, the most popular state machine dialects are classical and Rhapsody statecharts and UML state machine diagrams. These three dialects appear to be very similar; however, there are several key syntactic and semantic differences. The first half of this paper presents the results of a comparative study of these three dialects with the help of several illustrative examples. We also present a classification of the differences, together with a comprehensive overview. The second half of this paper is the result of a comparative literature review on approaches to formally capture the semantics of UML state machines; it categorizes and compares 26 different approaches. As a primary categorization, we use the underlying formalism of the approaches, e.g., mathematical models, rewriting systems and translation approaches. We also compare the approaches along several secondary dimensions, such as coverage of state machine features, analysis and tool support.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Reverse Engineering of Network Software Binary Codes for Identification of Syntax and Semantics of Protocol Messages

Reverse engineering of network applications especially from the security point of view is of high importance and interest. Many network applications use proprietary protocols which specifications are not publicly available. Reverse engineering of such applications could provide us with vital information to understand their embedded unknown protocols. This could facilitate many tasks including d...

متن کامل

Reentrant Statecharts for Concurrent Real-Time Systems

In this paper, we present novel notions of reentrant state machines and reentrant statecharts, which are extensions of traditional state machines and statecharts with the addition of concurrent syntax and semantics. Reentrant state machines can provide efficient concurrency support for statechart-based real-time tasks by interleaving the execution of concurrent tasks. With its well-defined synt...

متن کامل

UML 2.0 State Machines: Complete Formal Semantics Via core state machine

UML has become the standard modeling language for object-oriented systems. The informal description of UML and its continuous extension cause many ambiguities. Therefore, a formal semantics for UML is necessary, especially for formal reasoning and tool development. We present a formal semantics of UML 2.0 state machines, which are used for modeling the reactive behavior of objects, by (i) deriv...

متن کامل

A (more) Formal Denition of Communicating Real-time State Machines 3

The language of communicating real-time state machines is de ned precisely in three parts. First, the syntax of a single machine and of a set of connected machines are described. Then, the static semantics is described as the set of execution paths obtained through a static analysis. Finally, the dynamic semantics is de ned by specifying a simulation algorithm that produces execution traces or ...

متن کامل

A Formal Semantics for the Complete Syntax of UML State Machines with Communications (Report)

UML is a widely used notation introduced by the Object Management Group (OMG), and formalizing its semantics is an important issue. In this work, we concentrate on formalizing UML state machines which are used to express the dynamic behavior of software systems. We propose a formal operational semantics covering all features of the latest version (2.4.1) of UML state machine specification. We u...

متن کامل

Modeling and Evaluation of Stochastic Discrete-Event Systems with RayLang Formalism

In recent years, formal methods have been used as an important tool for performance evaluation and verification of a wide range of systems. In the view points of engineers and practitioners, however, there are still some major difficulties in using formal methods. In this paper, we introduce a new formal modeling language to fill the gaps between object-oriented programming languages (OOPLs) us...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006